package common.model.dto;

import com.google.common.collect.Sets;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author 米泽鹏
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginToken {

	private Long userId;
	private String username;
	private String nickname;
	private Set<Long> roleIdSet = Sets.newHashSet();
	private Set<Long> authorityIdSet = Sets.newHashSet();

}
